body {
  background: gray;
}

.tran {
  transform: rotate(30deg);
  background-color: red;
  display: flex;
}